# Makefile for generating navier-stokes.pdf
all: navier-stokes.pdf

navier-stokes.pdf: navier-stokes.tex references.bib                                                           
	xelatex navier-stokes                                                         
	bibtex references                                                         
	xelatex navier-stokes                                                          
	xelatex navier-stokes 
	xelatex navier-stokes
	bibtex  navier-stokes                                                     
	xelatex navier-stokes                                                          
	xelatex navier-stokes 

clean:                   
			rm -f *.aux *.log *.pdf \                                             
			*.toc *.snm *.nav *.out \                                             
			*.thm *.bbl *.ps *.dvi *.blg \                                        
			*.bcf *.xml                                                           

.PHONY: all clean     